package com.mini.repository;


import com.mini.model.BusinessBigLessonOrder;
import com.mini.model.BusinessBigOrderChance;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface BusinessBigOrderChanceRepository extends JpaRepository<BusinessBigOrderChance,String>, JpaSpecificationExecutor<BusinessBigOrderChance> {

    List<BusinessBigOrderChance> findByChanceId(Long ChanceId);

    List<BusinessBigOrderChance> findByChanceIdIn(Collection<Long> ChanceId);

    List<BusinessBigOrderChance> findAllByOrderNoIn(Set<String> orderNos);

}
